Path selection for routing traffic in a network

ABSTRACT

Methods, systems, and apparatuses are described for communicating among stations in a network. A station in the network can determine costs between that station and a headend through a number of other stations. The station can select a low cost path from among the possible paths. Cost data from the determination can be transmitted from the station to other stations in the network for use in selecting low cost paths at those stations.

RELATED APPLICATION

This application is a continuation of U.S. application Ser. No. 12/108,334 filed on Apr. 23, 2008, which claims a benefit of priority from U.S. Provisional Patent Application No. 60/941,949 filed Jun. 4, 2007. U.S. application Ser. No. 12/108,334 and U.S. Provisional Patent Application No. 60/941,949 are incorporated by reference in this application in their entirety.

TECHNICAL FIELD

The invention relates to routing traffic between stations within a network.

BACKGROUND

Communication networks enable stations belonging to the same network to exchange information. The physical layer of the communication systems exchange signals that encode information to be exchanged between stations. Due to the attenuation and noise on the communication medium, the range of the physical layer signals is limited. In a scenario where one or more stations cannot directly communicate with each other using the physical layer signals, routing and repeating at the higher layer (like a MAC layer or an IP layer) is used to extend the range of the network. Routing protocols enable the selection stations that are the best candidates for retransmitting (repeating) the information. Distance vector based routing and Link State based routing are two well known routing protocols, but other routing protocols or modifications of known protocols can provide superior performance in some networking scenarios.

SUMMARY

This specification describes technologies related to communication networks.

In general, one aspect of the subject matter described in this specification can be embodied in methods that include the actions of determining costs between a determining station and a headend for a number of paths through a respective number of stations, selecting a low cost path between the determining station and the headend based on the determined costs, and transmitting the determined cost of the selected low cost path.

Determining costs between the determining station and the headend can include receiving cost data from the plurality of stations, and estimating the cost between the determining station and the headend through at least two of the plurality of stations. Cost data can be periodically transmitted by the stations. Selecting a low cost path can include selecting a path from among the number of paths having a lowest estimated cost. The path having the lowest estimated cost can be a path having the highest estimated downlink bandwidth, the highest estimated uplink bandwidth, and/or the lowest number of hops to the headend.

Transmitting the determined cost of the selected low cost path can include transmitting an estimated downlink bandwidth, an estimated uplink bandwidth, and/or a number of hops to reach the headend. Determining costs can include receiving bandwidth data from a first transmitting station indicating the effective downlink bandwidth of a first network section, the first network section connecting the first station and the headend, measuring the downlink bandwidth of a second network section, the second network section connecting the determining station and the first station, and estimating the effective downlink bandwidth of a composite network section, the composite network section connecting the determining station and the headend.

Particular embodiments of the subject matter described in this specification can be implemented to realize one or more of the following advantages. Stations in a network, a broadband powerline network for example, can select optimum paths for communication with a headend.

The details of one or more embodiments of the subject matter described in this specification are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, the drawings, and the claims.

DESCRIPTION OF DRAWINGS

FIG. 1 is a schematic diagram of a communication network.

FIG. 2 is a flowchart of an example method for establishing a route to a headend in a communication network.

FIG. 3 is a block diagram of an example network.

FIG. 4 is a block diagram of the example network of FIG. 3 with modified routing.

DETAILED DESCRIPTION

There are a great many possible implementations of the invention, too many to describe herein. Some possible implementations that are presently preferred are described below. It cannot be emphasized too strongly, however, that these are descriptions of implementations of the invention, and not descriptions of the invention, which is not limited to the detailed implementations described in this section but is described in broader terms in the claims.

System Overview

FIG. 1 is a schematic diagram of a communication network 100. FIG. 1 shows an exemplary network configuration for a communication network 100 such as a broadband power line Network (BPLN) that provides access to a backhaul network. The BPLN can be managed by a service provider entity having access to the underlying physical power line medium. A BPLN is a general purpose network that can be used for several types of applications including, smart grid management, broadband internet access, voice and video delivery services, etc. A BPLN can be deployed on low voltage, medium voltage and high voltage power lines. A BPLN can span an entire neighborhood or it can be deployed within a single multi-dwelling unit. For example, it can be used to provide network service to tenants in an apartment building. While power lines can be used to deploy the BPLN, the network can also be deployed on other wire lines like Coaxial cables and twisted pair.

A BPLN can include one or more cells. A cell is a group of broadband power line (BPL) devices in a BPLN that have similar characteristics such as association management, security, quality of service (QoS) and channel access settings, for example. Cells in a BPLN are logically isolated from each other, and communication to and from the backhaul occurs within a cell. Each cell in a BPLN includes a core-cell and can also include one or more sub-cells. There can be more than one cell on a given physical medium, a power line, for example.

A core-cell can include a headend (HE), repeaters (R), and network termination units (NTUs), but does not include customer premise equipment (CPE). The headend is a device that bridges a cell to the backhaul network. At a given time, a cell will have one active headend and the active headend manages the cell including the core-cell and any associated sub-cells. A repeater is a device that selectively retransmits medium access control (MAC) Service Data Units (MSDUs) to extend the effective range and bandwidth of the BPLN cell. Repeaters also perform routing and QoS functions. A network termination unit is a device that connects a BPLN cell to an end user's network and/or devices. The NTU may in some cases bridge to other network technologies such as WiFi. A single NTU may serve more than one customer. Each sub-cell can be associated with an active NTU. In some implementations, a single device may be designed to perform multiple roles within the network. For example, a single device can be designed to be configurable so as to function as a headend, an NTU, and/or a repeater, or, for further example, a single device can simultaneously perform the network roles of a repeater and an NTU.

Various types of CPE devices are the endpoint nodes in the network and communicate with other nodes in the network through the NTUs.

Communication System Architecture

Each node in the network communicates as a communication “station” (STA) using a physical (PHY) layer protocol that is used by the nodes to send transmissions to any other stations that are close enough to successfully receive the transmissions. STAs that cannot directly communicate with each other use one or more repeater STAs to communicate with each other. Any of a variety of communication system architectures can be used to implement the portion of the network interface module that converts data to and from a signal waveform that is transmitted over the communication medium. An application running on a station provides and receives data to and from the network interface module. A MSDU is a segment of information received by the MAC layer. The MAC layer processes the received MSDUs and prepares them to generate “MAC Protocol Data Units” (MPDUs). MPDU is a segment of information including header and payload fields that the MAC layer has asked the PHY layer to transport. An MPDU can have any of a variety of formats based on the type of data being transmitted. A “PHY Protocol Data Unit (PPDU)” refers to the modulated signal waveform representing an MPDU that is transmitted over the wire line (a power line, for example) by the Physical Layer.

Apart from generating MPDUs from MSDUs, the MAC layer provides several functions including channel access control, providing the required QoS for the MSDUs, retransmission of corrupt information, routing and repeating. Channel access control enables stations to share the powerline medium. Several types of channel access control mechanisms like carrier sense multiple access with collision avoidance (CSMA/CA), centralized Time Division Multiple Access (TDMA), distributed TDMA, token based channel access, etc., can be used by the MAC layer. Similarly, a variety of retransmission mechanism can also be used. The Physical layer (PHY) can also use a variety of techniques to enable reliable and efficient transmission over the transmission medium (power line, coax, twisted pair etc). Various modulation techniques like orthogonal frequency division multiplexing (OFDM), and wavelet modulations can be used. Forward error correction (FEC), code line Viterbi codes, Reed-solomon codes, concatenated codes, turbo codes, low density parity check codes, etc., can be employed by the PHY to overcome errors.

In a BPLN, stations that cannot directly communicate with one another use one or more repeaters. A method for finding the least cost routing from any station in the BPLN to the headend is described herein, as well as a method for finding a route between any two stations in the BPLN based on their route to the headend.

Routing Approach to/from Headend (HE)

FIG. 2 is a flowchart of an example method 200 for establishing a route to a headend in a communication network. A cost to reach the headend is measured (202). A cost can be, for example, a number of station hops, an uplink bandwidth, a downlink bandwidth, and/or a network load measurement. The cost to reach the headend can be measured at a station in the network, for example, a repeater station and/or a network termination unit. In an implementation, the station listens for beacon messages (or management messages) transmitted by other stations in the network. The stations can transmit cost data in their beacon messages, and/or cost parameters can be measured by the listening station. For example, cost data from received beacon messages can be combined with one or more costs measured by the listening station.

A low cost path to the headend is selected (204). The low cost path can be selected, for example, at the listening station following an evaluation of several paths discovered during a listening period. A listening period can, for example, be a 10 minute window following power-up of the listening station. The low cost path can be, for example, the path with the highest downlink bandwidth, the path with the highest uplink bandwidth, the path with the lowest hop count to the headend, the path with the least network load, and/or a path having a compromise of these characteristics.

Cost data is transmitted (206). For example, a station can transmit cost data in periodic beacon messages. In some implementations, an effective downlink bandwidth from the headend, an effective uplink bandwidth to the headend, and/or a number of network hops to the headend are included in a periodically transmitted beacon message.

FIG. 3 is a block diagram of an example network for implementing the method of FIG. 2. The headend 310 connects to a wide area network (not shown) to transmit data to and from the network termination units 320 a-320 g. Intermediate stations 312 a, 312 b, 314 a-314 d, and 316 a-316 e act as repeaters to pass data across the network. The intermediate stations are needed due to the network termination units and the headend being incapable of direct communication due to, for example, signal attenuation over a distance between them. In the example network topology shown in FIG. 3, the lines connecting the stations indicate communication paths. For example, station R1 312 a can communicate directly (without the need of a repeating station) with the headend 310 and has established communication with the headend 310. Other routes between stations are possible, but the lines connecting the stations indicate that this path has been selected for the example network shown.

In the example shown, the communication paths consistently have a downlink bandwidth of 120 Mbits/sec and an uplink bandwidth of 100 Mbits/sec as indicated by the directional arrows.

In some implementations, the headend 310 is a headend of a BPLN. The headend 310 periodically transmits a beacon message. Stations which are within range of the headend can receive (or “hear”) the beacon message from the headend 310. These stations can measure the “cost” of communicating with the headend 310. In some implementations, the cost is the downlink bandwidth of the network between themselves and the headend 310, where cost is minimized by seeking the highest bandwidth. For the example shown, both R1 312 a and R1′ 312 b can hear the headend, measure the bandwidth of the network between themselves and the headend, and establish a direct communication path to the headend.

It is possible, for example, that the downlink bandwidth between R1′ 312 b and the headend 310 would be so low as to cause R1′ 312 b to instead select a path to the headend 310 through R1 312 a if such a path would provide a superior downlink bandwidth. For the example network shown, however, R1 312 a and R1′ 312 b each establish direct communication with the headend 310.

In some implementations, following the selection of the direct path to the headend 310, R1 312 a and R1′ 312 b begin transmitting their own periodic beacon message. Because of their differing locations in the network, the beacons of R1 and R1′ are heard by stations that could not hear the beacon of the headend. Some stations might hear both the beacons of R1 and R1′, while others might hear only one. In an implementation, the beacons of R1 and R1′ include cost data indicating a cost of communicating to the headend through R1 and R1′. For example, the beacon of R1 can indicate, as is shown in block 322 that the downlink bandwidth between R1 and the headend is 120 Mbit/sec, the uplink bandwidth is 100 Mbit/sec, and the number of hops from R1 to the headend is one.

By listening to beacon messages and cost data included therein, other stations can determine a low cost path to the headend. For example R2 hears the beacon from R1 which indicates the uplink bandwidth, the downlink bandwidth, and the number of hops to the headend from R1. R2 can measure the bandwidth of the network between R2 and R1. R2 can calculate an effective downlink bandwidth between R2 and the headend, through R1 according to the following formula:

${BW\_ Eff}_{comp} = \frac{1}{\frac{1}{{BW\_ Eff}_{beacon}} + \frac{1}{BW\_ Meas}}$

Where BW_Eff_(comp) is the effective downlink bandwidth of the composite network path from R2 to the headend, BW_Eff_(beacon) is the downlink bandwidth data received in the R1 beacon, and BW_Meas is the measured downlink bandwidth between R2 and R1. In some implementations, an effective uplink bandwidth is similarly calculated.

In some implementations, R2 periodically transmits beacon messages that include the calculated effective downlink and uplink bandwidths and a hop count to reach the headend through R2. For the example shown in FIG. 5B, in block 324, the beacon indicates that the effective downlink bandwidth between R2 and the headend is 60 Mbit/sec, the effective uplink bandwidth is 50 Mbit/sec, and the hop count is two. R2′ similarly transmits beacon messages with its own calculated effective bandwidths and hop count as indicated by block 326.

Station R3′ can hear station R2. Station R3′ similarly calculates its effective bandwidths and includes this data and a hop count in periodically transmitted beacon messages. For the example shown in FIG. 3, station R3′ transmits beacons with the data as shown in block 328. The beacon messages of R3′ can be heard by stations N3 and N4 which establish communications with R3′.

The mechanism described so far provides a mechanism for stations in the BPLN to send traffic to the headend. For example, N3 sends the traffic intended for the HE to R3′. This traffic then gets routed through R2 and R1 and finally to the HE. For sending traffic from the HE to N3 (or any other STA in the BPLN), the HE and all repeaters maintain information regarding the set of STAs that can be reached through it and their corresponding next hop repeaters (if any). This information is referred to a routing table. In this example, the HE routing table indicates that N3 can be reached through R1. Similarly, the R1 and R2 routing tables indicate that N3 can be reached through R2 and R3′ respectively. Finally, the R3′ routing table indicates that it can directly reach N3.

To facilitate the population of routing tables at all stations on a route to the HE, in some implementations each station that newly joined the BPLN sends a Route Refresh message that contains the MAC address (or any other unique identifier associated with the new station) to the HE. Stations that are in the route from the STA to the HE will process these messages and add the new station to their routing table.

For example, when N3 first joins the network, it uses the beacons received from R3′ to determine that R3′ is the next hop destination to reach the HE. N3 will then send a Route Refresh message intended for the HE to R3′. R3′ will thus learn that it can directly reach N3 (R3′ updates its routing table) and then forwards the message to R2. R2 will learn that N3 can be reach through R3′ (R2 updates its routing table) and then forwards the message to R1. R1 will then learn that it can reach N3 through R2 (R1 updates its routing table) and then forwards the message to the HE, which then learns that N3 can be reached through R1 (the HE updates its routing table). This procedure establishes the route from the HE to N3.

Once the initial route is established, STAs can periodically, or based on need, send Route Refresh messages to the HE to ensure that the route from the HE to the station is always current. In some implementations, stations update their routing tables whenever they receive MSDUs intended for the HE from other stations. For example, whenever R1 receives an MSDU from N3 via R2, it updates its routing table to indicate that it can reach N3 through R2. This ensures that the routing tables remain current without the need for sending an explicit Route Refresh message.

Route Changes

A route between a station and the HE can change when the cost on one or more links change. FIG. 4 is a block diagram of the example network of FIG. 3 with modified routing. In FIG. 4, station R3′ has altered its selected path to the headend. In FIG. 4, the downlink and uplink bandwidths of the network section between R1 and R2 is 90 and 70 Mbits/sec, respectively, which represents lower bandwidths for the same link than in FIG. 3. In the example of FIG. 4, R3′ has altered its selected path to the headend (compared to FIG. 3) by selecting a route through R2′ instead of R2.

To change its selected route to the headend, R3′ can, for example, perform the method of FIG. 2. A beacon message received at R3′ from R2 can include an indication of an effective downlink bandwidth of 51.4 Mbit/sec, an effective uplink bandwidth of 41.2 Mbit/sec, and hop count of 2, as shown in block 430. A beacon message received at R3′ from R2′ includes an indication of an effective downlink bandwidth of 60 Mbit/sec and an effective uplink bandwidth of 50 Mbit/sec between R2 and the headend. R3′ can measure the bandwidth of the network between itself and R2 (dashed line) to determine that the downlink and uplink bandwidths are 120 and 100 Mbits/sec respectively. This measurement can be used with the downlink and uplink data in the beacon received from R2 to calculate an effective bandwidth of the composite network between R3′ and the headend through R2. Using the formula above, the calculated effective downlink bandwidth is:

${BW\_ Eff}_{comp} = {\frac{1}{\frac{1}{51.4} + \frac{1}{120}} = 36.0}$

The effective uplink bandwidth can be similarly calculated.

R3′ can additionally hear beacon messages from R2′. Beacon messages from R2′ indicate that the effective downlink and uplink bandwidth between R2′ and the headend is 60 and 50 Mbit/sec respectively, and the hop count is 2, as shown in block 431. R3′ can measure the bandwidth of the network between itself and R2′ to determine that the downlink and uplink bandwidths are 120 and 100 Mbits/sec respectively. This measurement can be used with the downlink and uplink data in the beacon received from R2′ to calculate an effective bandwidth of the composite network between R3′ and the headend through R2′. Using the formula above, the calculated effective downlink bandwidth is:

${BW\_ Eff}_{comp} = {\frac{1}{\frac{1}{60} + \frac{1}{120}} = 40}$

R3′ can select a low cost route to the headend. Comparing the effective downlink bandwidth from the headend through R2 and through R2′, R3′ can select the route through R2′ due to its lower cost (in this example, its superior downlink bandwidth). R3′ can transmit periodic beacon messages including the calculated effective downlink and uplink bandwidths of 40 and 33.3 Mbit/sec, respectively. Beacon messages transmitted from R3′ can include the data shown in block 432. This data is received by stations within range of R3′ and can be used by those stations in determining whether to select a path to the headend through R3′ or another route.

In some implementations, a station that changed its route to the HE can send a Route Update message to the headend that contains that list of stations that can be reached through it. All stations that receive the Route Update message can update their Routing Table to include the new routes for the stations listed in the Route Update message. For example, if R3′ modifies its route, it can send a Route Update message intended for the HE to R2′. The Route Update message can indicate that N3 and N4 can be reached through R3′. Upon receiving the Route Update message, R2′ can update its routing table to indicate that N3 and N4 can be reached through R3′, and forward the message to R1. R1 can similarly update its routing table and forward the Route Update message to the HE, which then updates its routing table. Subsequently, all traffic from the HE to R3′, N3 and N4 will flow through the modified route.

Routing Between any Two Stations

The routing mechanism described above also enables routing of traffic between any two stations in the network. For example, in FIG. 3, N3 can send traffic to N1 without the need to route it all the way through the HE. In some implementations, N3 can receive an MSDU from its host that is intended for N1, and N3 can determine that it cannot directly reach N1. N1 then forwards the MSDU to R3′ (i.e., its next hop destination to the HE). R3 uses its routing table to determine that it does not have a route to R3′ and hence forwards the packet to R2 (i.e., its next hop destination to the HE). R2 then uses its routing table to determine that N1 can be reached through R3 and forwards the MSDU to R3. R3 can then forward the MSDU to N1. 

What is claimed is:
 1. A method for communicating among stations in a network, the method comprising: at a determining station: determining costs between the determining station and a headend for a plurality of paths through a respective plurality of stations; selecting a low cost path between the determining station and the headend based on the determined costs; and transmitting the determined cost of the selected low cost path. 